package com.lq.employmentmanage.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;

@RestController
@RequestMapping("/index")
public class IndexController {

  @GetMapping(value = "")
  public ModelAndView index() {
    ModelAndView modelAndView = new ModelAndView();
    modelAndView.setViewName("system/index");
    return modelAndView;
  }

  @GetMapping(value = "/indexCenter")
  public ModelAndView indexCenter() {
    ModelAndView modelAndView = new ModelAndView();
    modelAndView.setViewName("system/zhongxingaikuang");
    return modelAndView;
  }

  @GetMapping(value = "/jigoushezhi")
  public ModelAndView jigoushezhi() {
    ModelAndView modelAndView = new ModelAndView();
    modelAndView.setViewName("system/jigoushezhi");
    return modelAndView;
  }

  @GetMapping(value = "/gongzuozhize")
  public ModelAndView gongzuozhize() {
    ModelAndView modelAndView = new ModelAndView();
    modelAndView.setViewName("system/gongzuozhize");
    return modelAndView;
  }
}
